home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: FW_CODPart::WritePartInfo
- Sent: 7/19/96 3:20 PM
- Received: 7/19/96 3:31 PM
- From: Arni McKinley, motion@nbn.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >About the FW_CODPart::WritePartInfo thing, Henri wrote:
- >
- >> Have you tried to use FW_CFrame::Internalize/ExternalizeFrame? You should
- >
- >> not have to use FW_CODPart::WritePartInfo directly.
- >>
- >>
- >
- >Yes, but I get an ODStorageUnitView to work with in there. Deleting from
- >the value seems to have no effect. Then again, neither did removing it in
- >FWCODPart::WritePartInfo. I'm beginning to think that OpenDoc isn't very
- >aggressive about compacting files. I'll ask David McCusker on
- >OD-Interest....
- >
- >
- >
- >Brad
-
-
- Yes, there is something wrong with OpenDoc's handling of files in this
- regard. ODF clears out the part's "partKind" property and all its values
- before externalizing the part, but the size of the file remains the same.
- This is really evident in Page Composer where a document can have umpteen
- pages of ODFDraw-like content and you delete all the content then
- externalize. The file actually gets bigger. And never gets smaller, even
- into the distant future.
-
- I've been meaning to look more carefully at this but haven't had the chance.
-
- Arni
-
-
-